import multiprocessing
import time


def funcA(no):
    for i in range(5):
        print(no)
        time.sleep(1)
if __name__ == '__main__':
    for i in range(5):
        p = multiprocessing.Process(target=funcA,args=(i,))
        p.start()